package com.ecloud.gardensterminal.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecloud.gardensterminal.controller.dto.GardensDeviceAreaDto;
import com.ecloud.gardensterminal.controller.dto.GardensDeviceDto;
import com.ecloud.gardensterminal.controller.vo.GardensDeviceAreaStatusVo;
import com.ecloud.gardensterminal.controller.vo.GardensDeviceAreaVo;
import com.ecloud.gardensterminal.controller.vo.GardensDeviceParallelingInfoVo;
import com.ecloud.gardensterminal.controller.vo.GardensDeviceSwitchInfoVo;
import com.ecloud.gardensterminal.domain.GardensDevice;

import java.util.List;

/**
 * @author Squbi
 */
public interface GardensDeviceService extends IService<GardensDevice> {
    GardensDevice selectById(Integer deviceId);

    List<GardensDevice> selectAll(GardensDeviceDto dto);

    List<GardensDeviceAreaVo> selectJoinArea(GardensDeviceAreaDto dto);

    List<GardensDeviceAreaStatusVo> selectJoinAreaStatus(GardensDeviceAreaDto dto);

    List<GardensDeviceSwitchInfoVo> selectJoinSwitch(Integer deviceId);

    List<GardensDeviceParallelingInfoVo> selectJoinParalleling(Integer deviceId);
}
